<ng-template #defTmpl>
  <div class="popup-body modal-body">
  </div>
  <div class="line-public"></div>
  <div class="add-footer">
    <div class="btns-group">
      <button type="button" class="btn  btn-fff" data-dismiss="modal">取消</button>
    </div>
  </div>
</ng-template>
<div class="modal modal-center">
  <div class="modal-dialog modal-lg-f">
    <div class="modal-content" [style.width]="modal.width">
      <div class="modal-header">
        <button type="button" class="close pull-right" (click)="back()">&times;</button>
        <h4 class="modal-title">{{modal.title}}</h4>
      </div>
      <div class="modal-body">
        <ng-container *ngTemplateOutlet="tmpl?tmpl:defTmpl"></ng-container>
        <ng-container *ngTemplateOutlet="footer?footer:defTmpl"></ng-container>
        <!-- <ng-content></ng-content> -->
        <!-- <div class="modal-footer modal-footer-tongy">
          <button type="button" class="btn btn-fff" (click)="back()">取消
          </button>
          <button type="submit" class="btn btn-primary">确定
          </button>
        </div> -->

      </div>
    </div>
  </div>
</div>
